﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;

namespace AppDesign.Models.ManageType
{
    [AttributeUsage(AttributeTargets.Property , AllowMultiple = false)]
    public class DisableCascade : Attribute 
    {
        private readonly string _object; 
        private readonly string _objectforeignkey;
        public DisableCascade(string obj, string objectforeignkey)
        {
            _object = obj;
            _objectforeignkey = objectforeignkey;
        }

        public string ReferObj
        {
            get { return _object; }
        }
        public string ReferForeignKey
        {
            get { return _objectforeignkey; }
        }

    }
}